package com.lcm.weam.entity.pro;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pro_member")
public class Member {
    private String proid; //项目id
    private String name; //人员名称
    private Date time; //加入时间
    private String description; //描述
    private String duty; //职责
    @TableId
    private int mid; //主键，数据库自增

    public Member(String proid, String name, Date time, String description, String duty) {
        this.proid = proid;
        this.name = name;
        this.time = time;
        this.description = description;
        this.duty = duty;
    }
}
